import Vue from "vue";
import api from '@/service/index'
export default function searchLists(obj = {}) {
    return new Promise((resolve, reject) => {
        Vue.axios.get(api.search, 
            {

                headers: {
                    // 'token': 'Bearer ',
                    // 'Content-Type':' multipart/form-data'
                },
                params: obj,

            }
                
                
        ).then((response) => {
            resolve(response.data)
            }).catch(e => {
                console.log(e)
                reject(e)
            })
})
}